home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / liboctave / f2c-main.c < prev    next >
C/C++ Source or Header  |  1997-03-07  |  1KB  |  51 lines

  1. /*
  2.  
  3. Copyright (C) 1996 John W. Eaton
  4.  
  5. This file is part of Octave.
  6.  
  7. Octave is free software; you can redistribute it and/or modify it
  8. under the terms of the GNU General Public License as published by the
  9. Free Software Foundation; either version 2, or (at your option) any
  10. later version.
  11.  
  12. Octave is distributed in the hope that it will be useful, but WITHOUT
  13. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  14. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  15. for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with Octave; see the file COPYING.  If not, write to the Free
  19. Software Foundation, 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20.  
  21. */
  22.  
  23. #include <assert.h>
  24.  
  25. /* I think that this is really only needed if linking to Fortran
  26.    compiled libraries on a Sun.  It also seems to be needed on
  27.    some Linux/ELF systems with g77.  It should never be called. */
  28.  
  29. #if defined (sun)
  30. int
  31. MAIN_ ()
  32. {
  33.   assert (0);
  34.   return 0;
  35. }
  36. #elif defined (__linux__)
  37. int
  38. MAIN__ ()
  39. {
  40.   assert (0);
  41.   return 0;
  42. }
  43. #endif
  44.  
  45. /*
  46. ;;; Local Variables: ***
  47. ;;; mode: C++ ***
  48. ;;; End: ***
  49. */
  50.  
  51.